-
Notifications
You must be signed in to change notification settings - Fork 10
Adding testing to the CI. #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This PR will wait to be rebased after #80 merges before further testing to avoid having to solve conflicts in notebooks due to the |
e1c5dd4 to
7dff7a4
Compare
… pre-commit error
|
@hanayik I sent you an email at your ndcn.ox.ac.uk address but I am not sure if you received it. If not, let me know. It is about adding a codecov token to the ipyniivue project. I am not part of the NiiVue organization so I cannot do it myself. |
|
@bcalford That's cool. The CI is now running the notebooks and the tests flag any crashing notebook. It allowed us to find that two of our notebooks were broken! One was just missing an import, but the other was due to a change in the API. This will make it easier for us to maintain everything in working order! |
|
@christian-oreilly I received the email, thanks! We can keep the conversation on here though since it's in context with the PR. I don't think it's necessary to give the coverage service access to the entire Niivue github organisation. I have instead modified the CI workflow to use see: https://github.com/niivue/ipyniivue/actions/runs/13050900236?pr=105 Let me know if this is ok for your use case. The first table is the src code summary, and the second table is the notebook coverage summary (per matrix combination in your test runners). |
|
@hanayik Thank for your feedback. I am not sure I get where this report is uploaded. I relaunched the jobs to check the result I don't see the report added to the PR. I am trying to have the report added to the PR as can be seen in this PR lina-usc/pylossless#214 for example. My understanding is that it is done through this which requires a token for codecov. I does not require giving the coverage access to the whole organization, just to ipyniivue repo. I would have done it myself, but I can't because I am not a member of the NiiVue organization. |
|
Thanks for the review @bcalford |
Fix #104
Fix #109